package com.premedsidekick;

import android.app.ListActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class CoreRequirements extends ListActivity {
	String[] list = {"Biology", "General Chemistry", "Organic Chemistry",
			"Physics"};
	public void onCreate(Bundle bundle) {
		super.onCreate(bundle);
		ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, R.layout.listview, R.id.line1);
		for (String s: list)
			adapter.add(s);
		setListAdapter(adapter);
	}
	@Override
	protected void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);
		Intent intent = null;
		if (position == 0);
			
		else;
		
		startActivity(intent);
	}
}
